package com.sen.gulimall.order.to;

import com.sen.gulimall.order.entity.OrderEntity;
import com.sen.gulimall.order.entity.OrderItemEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author Kisen
 * @email lqs0911@qq.com
 * @date 2022/11/22 16:59
 * @detail
 */
@Data
public class OrderCreateTo {

    private OrderEntity order;
    private List<OrderItemEntity> orderItems; //订单项
    private BigDecimal payPrice; //订单计算的应付价格
    private BigDecimal fare; //运费
}
